﻿using System;
using System.Collections.Generic;
using System.Text;
using IDotNet.MapLibs.Model;

namespace IDotNet.MapLibs.BMap.Model
{
    public class BMapPlaceSuggestionResModel : BMapBaseResultModel, IPlaceSuggestionResModel
    {
        public List<PlaceSuggestionAddressModel> result { get; set; }
    }

    /*
      {
            "name":"天安门",
            "location":{
                "lat":39.915174,
                "lng":116.403875
            },
            "uid":"65e1ee886c885190f60e77ff",
            "city":"北京市",
            "district":"东城区",
            "business":"",
            "cityid":"131"
        }
     */
    public class PlaceSuggestionAddressModel
    {
        public string name { get; set; }

        public PointModel location { get; set; }

        public string city { get; set; }

        public string district { get; set; }


        public string business { get; set; }
    }
}
